package com.kehongborui.fliggy.model;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author zhang peng yang ming
 * @CopyRight (C) http://www.csdn.com
 * @brief
 * @email 122162005@qq.com
 * @date 2018-08-22
 */
public class PassengerModel {
    /**
     * 乘客姓名
     */
    private String name;

    /**
     * 证件类型
     */
    private Integer cardType;

    /**
     * 证件编号
     */
    private String cardNo;

    /**
     * 乘客生日
     */
    @DateTimeFormat(pattern ="yyyy-MM-dd")
    private Date birth;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCardType() {
        return cardType;
    }

    public void setCardType(Integer cardType) {
        this.cardType = cardType;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public Date getBirth() {
        return birth;
    }

    public void setBirth(Date birth) {
        this.birth = birth;
    }
}
